<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<script>
    var json = {
        "age":24,
        "name":"cst"
    };
    console.log(json);
    delete json["age"];
    console.log(json);
    json = [];
    console.log(json);
</script>
</body>
</html>